package com.woniuxy.receivables.service;

import com.woniuxy.commons.entity.Receivables;
import com.woniuxy.commons.request.ResPage;
import com.woniuxy.commons.vo.AddAddTimeToReceivablesVo;
import com.woniuxy.commons.vo.SearchProjectVo;
import com.woniuxy.receivables.vo.InvestsVo;
import com.woniuxy.receivables.vo.ReceivablesVo;

import java.util.List;

public interface ReceivablesService {
    boolean refund(String pno);

    boolean setAddTime(AddAddTimeToReceivablesVo addAddTimeToReceivablesVo);

    List<Receivables> findAllReceivablesByPno(String pno);

    ResPage<List<InvestsVo>> searchInvests(SearchProjectVo searchProjectVo);

    ResPage<List<ReceivablesVo>> searchReceivables(SearchProjectVo searchProjectVo);
}
